package core.util;

public class StringUtil {
	public static boolean isCastToInteger(String value){
		try {
			new Integer(value);
		} catch (Exception e) {
			return false;
		}
		return true;
	}
	
	public static boolean isCastToLong(String value){
		try {
			new Long(value);
		} catch (Exception e) {
			return false;
		}
		return true;
	}
}
